package com.asap.demo.mysql.orm;

import java.util.Map;

public class SqlParameter {

	private String topicFieldName;
	private String dbFieldName;
	private String fieldType;
	private String fieldValue;
	private Map<String, Map> nestedFieldParam;
	private Map<String, Object> extendFieldKVMap;

	public SqlParameter() {
	}

	public SqlParameter(String topicFieldName, String dbFieldName, String fieldType, String fieldValue, Map<String, Map> nestedFieldParam, Map<String, Object> extendFieldKVMap) {
		this.topicFieldName = topicFieldName;
		this.dbFieldName = dbFieldName;
		this.fieldType = fieldType;
		this.fieldValue = fieldValue;
		this.nestedFieldParam = nestedFieldParam;
		this.extendFieldKVMap = extendFieldKVMap;
	}

	public SqlParameter setTopicFieldName(String topicFieldName) {
		this.topicFieldName = topicFieldName;
		return this;
	}

	public SqlParameter setDbFieldName(String dbFieldName) {
		this.dbFieldName = dbFieldName;
		return this;
	}

	public SqlParameter setFieldType(String fieldType) {
		this.fieldType = fieldType;
		return this;
	}

	public SqlParameter setFieldValue(String fieldValue) {
		this.fieldValue = fieldValue;
		return this;
	}

	public SqlParameter setNestedFieldParam(Map<String, Map> nestedFieldParam) {
		this.nestedFieldParam = nestedFieldParam;
		return this;
	}

	public SqlParameter setExtendFieldKVMap(Map<String, Object> extendFieldKVMap) {
		this.extendFieldKVMap = extendFieldKVMap;
		return this;
	}

	public String getTopicFieldName() {
		return topicFieldName;
	}

	public String getDbFieldName() {
		return dbFieldName;
	}

	public String getFieldType() {
		return fieldType;
	}

	public String getFieldValue() {
		return fieldValue;
	}

	public Map<String, Map> getNestedFieldParam() {
		return nestedFieldParam;
	}

	public Map<String, Object> getExtendFieldKVMap() {
		return extendFieldKVMap;
	}
}
